<template>
	<view class="s-padding">
		<view calss="container">
			<view class="s-product-img s-radius-all">
				<s-feng-parse :content="content"></s-feng-parse>
			</view>
			<view class="s-safearea-bottom"></view>
		</view>
	</view>	
</template>
<script>
	export default {
		data() {
			return {
				id:'',
				content:''
			}
		},
		async onLoad(options) {
			this.id = options.id
			await this.swiperDetail()
		},
		methods: {
			async swiperDetail(){
				this.content = await this.$s.model.picture.swiperDetail({id:this.id})
			}
		},
		//下拉刷新
		async onPullDownRefresh() {
		    await this.swiperDetail()
		    uni.stopPullDownRefresh()  
		}
	}
</script>

<style lang="scss" scoped>
	@import 'swiper_detail.scss';
</style>
